package com.xx.happychatboot.serve.user.mapper;


import com.xx.happychatboot.serve.user.domain.entity.UserApply;
import com.xx.happychatboot.serve.user.domain.vo.response.NewFriendVo;
import io.mybatis.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户申请表 Mapper 接口
 * </p>
 *
 * @author xiaoXuan
 * @since 2025-01-02
 */
public interface UserApplyMapper extends Mapper<UserApply, Long> {

    List<NewFriendVo> selectNewFriendList(@Param("userId") Long userId);

    void updateReadStatus(@Param("idList") List<Long> idList);
}
